package com.guocheng.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("good_infos")
public class  GoodInfo {
    @TableId("tg_id")
    private Integer id;
    @TableField(value = "tg_title")
    private String title;
    @TableField(value =  "tg_price")
    private Double price;
    private Integer tgOrder;
    @TableField("tg_type_id")
    private Integer typeId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getTgOrder() {
        return tgOrder;
    }

    public void setTgOrder(Integer tgOrder) {
        this.tgOrder = tgOrder;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
}
